/**
 * Created by saintess on 2017/7/24.
 */


var hzUrl='';

var hz={};

hz.initUrl=function (url) {
  hzUrl=url;
};
hz.initForm=function (_self,tableName,priValue)
{
  let url=hzUrl+'/tasks/hz/load/'+tableName+'/'+priValue;
  return _self.axios.get(url);

};
hz.initSubForm=function (_self,tableName,priValue) {
  let url=hzUrl+'/tasks/hz/loadsub/'+tableName+'/'+priValue;
  return _self.axios.get(url);
}
export default  hz;
